/*
 * Home.java
 *
 * Created on January 29, 2007, 11:11 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package ge.info.pages;


import ge.ktapestry.pages.BasePageExt;

import java.util.*;
import org.apache.tapestry.event.PageBeginRenderListener;
import org.apache.tapestry.event.PageEvent;

public abstract class Rest extends BasePageExt implements PageBeginRenderListener
{

    //public static int SERVICE_ID = 44;
   // public String getCurrentTime()

     public abstract List<TreeMap> getRMessages();

    public abstract void setRMessages(List<TreeMap> list);

    public abstract TreeMap getMessage();

    public abstract void setMessage(TreeMap message);


    
     public void pageBeginRender(PageEvent event)

     {
    
         this.setRMessages(getDbExecutor().getRMessages(getSession().getUserName()));
         
    }
}

